package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NursingLevelService {
    //查询护理项目等级
    List<NursingLevelDto> select();

    //新增护理项目等级
    void insert(NursingLevelDto nursingLevelDto);
    //分页查询护理项目等级
    PageResponse<NursingLevelVo> listByPage(String name, Integer status, Integer pageSize, Integer pageNum);

    //根据ID查询
    NursingLevel getById(Long id);

    //修改护理等级
    void upDate(NursingLevel nursingLevel);
    //删除护理等级
    void delete(Long id);
    //启用禁用
    void onOff(Long id, Integer status);
}
